package org.jeecg.common.modules.doctor.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: doctor_register
 * @Author: jeecg-boot
 * @Date:   2020-12-18
 * @Version: V1.0
 */
@Data
@TableName("doctor_register")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="doctor_register对象", description="doctor_register")
public class DoctorRegister implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**医生ID*/
	@Excel(name = "医生ID", width = 15)
    @ApiModelProperty(value = "医生ID")
    private String doctorId;
	/**挂号医院*/
	@Excel(name = "挂号医院", width = 15)
    @ApiModelProperty(value = "挂号医院")
    private String registerHospitalId;
	/**科室id*/
	@Excel(name = "科室id", width = 15)
    @ApiModelProperty(value = "科室id")
    private Integer department;
	/**就诊号种：普通号、专家号、特需号*/
	@Excel(name = "就诊号种：普通号、专家号、特需号", width = 15)
    @ApiModelProperty(value = "就诊号种：普通号、专家号、特需号")
    private String type;
	/**出诊日期*/
	@Excel(name = "出诊日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出诊日期")
    private String visitTime;
	/**出诊时间段：上午、下午、晚上*/
	@Excel(name = "出诊时间段：上午、下午、晚上", width = 15)
    @ApiModelProperty(value = "出诊时间段：上午、下午、晚上")
    private String visitPart;
	/**挂号开始序号*/
	@Excel(name = "挂号开始序号", width = 15)
    @ApiModelProperty(value = "挂号开始序号")
    private int numStart;
    /**挂号结束序号*/
    @Excel(name = "挂号结束序号", width = 15)
    @ApiModelProperty(value = "挂号结束序号")
    private int numEnd;
    /**挂号余号*/
    @Excel(name = "挂号余号", width = 15)
    @ApiModelProperty(value = "挂号余号")
    private int surplusNum;
    /**挂号总数*/
    @Excel(name = "挂号总数", width = 15)
    @ApiModelProperty(value = "挂号总数")
    private int count;
	/**价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createUser;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**保存者*/
    @Excel(name = "保存者", width = 15)
    @ApiModelProperty(value = "保存者")
    private String updateUser;
	/**保存时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
    @Excel(name = "开始工作时间", width = 20, format = "HH:mm")
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    @ApiModelProperty(value = "开始工作时间")
    private Date startTime;
    /**结束工作时间*/
    @Excel(name = "结束工作时间", width = 20, format = "HH:mm")
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    @ApiModelProperty(value = "结束工作时间")
    private Date endTime;
    @Excel(name = "是否循环：0-不循环，1-循环", width = 15)
    @ApiModelProperty(value = "0-不循环，1-循环")
    private int isCucle;
    /**伪删除*/
    @Excel(name = "伪删除", width = 1)
    @ApiModelProperty(value = "伪删除")
    private int invalid;
    /**是否支持社保，1支持*/
    @Excel(name = "是否支持社保，1支持", width = 1)
    @ApiModelProperty(value = "是否支持社保，1支持")
    private int isShebao;
}
